A Definition, Overview and Taxonomy of Generic Aspect Languages

نویسندگان

  • Günter Kniesel
  • Tobias Rho
چکیده

Aspect-orientation promises better modularity than pure object-oriented decomposition. A typical benefit of increased modularity is ease of maintenance, evolution and reuse. However, it has been noted by various researchers that many of the first generation aspect languages do not provide the degree of reusability initially hoped for. In this paper, we argue that the problem of insufficient reusability is due to a lack of support for aspect genericity. We analyze various problems of traditional aspect languages and define aspect genericity to be the ability to concisely express aspect effects that vary depending on the context of a join point known at weave-time, without falling back to runtime reflection. We identify the ability to parameterize aspect effects with meta-variables ranging over base language elements as the technical prerequisite for achieving genericity and describe the design space for generic aspect languages in terms of five basic questions that a language designer should consider. Within this space we review the different proposals for generic aspect languages made so far and compare them by showing which part of the possible design space is explored within these languages. Among the reviewed design options we identify predicate-based binding of logic metavariables, uniform genericity and fine-grained genericity as optimal answers to three of the discussed questions. Last but not least, we identify open research problems that are specific to aspect genericity or aggravated in the presence of genericity. We expect that genericity will be a key ingredient of a second generation of aspect languages. It will significantly reduce the dependency of aspects on base programs and will automatically select behavior depending on the weave-time context of a join point in the same way as dynamic binding does depending on the type of a message receiver.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

NUMERICAL TAXONOMY AND SEED PROTEIN ANALYSIS OF HYOSCYAMUS SPECIES IN IRAN

Numerical taxonomy and seed storage protein analysis of Hyoscyamus species of Iran was carried out with the aim to illustrate species inter-relationship and to check the sub-generic taxonomic treatment proposed for the genus. Cluster analysis of morphological and protein data grouped the species in three separate clusters which supports the relationships of H. niger with H. reticulatus and H. k...

متن کامل

A Comparison of User Description Languages Concerning Adaptability Based on User Preferences

The user interface is the most important feature of interaction between users and (AAL) services. Explicitly defined user interfaces are bound to a specific toolkit and programming language or markup language. Thus a separate user interface definition has to be created manually for different classes of I/O devices to be supported. Compared to manual user interface creation, the automatic or sem...

متن کامل

A Formal Semantics of Flexible and Safe Pointcut/Advice Bindings

AspectJ was designed as a seamless aspect-oriented extension of the Java programming language. However, unlike Java, AspectJ does not have a safe type system: an accepted binding between a pointcut and an advice can give rise to type errors at runtime. In addition, AspectJ’s typing rules are severely restricting the definition of certain generic advice behavior. In this technical report, we pre...

متن کامل

Examining the Generic Features of Thesis Acknowledgments: A Case of Iranian MA Graduate Students Majoring in Teaching to Speakers of Other Languages (AZFA) and TEFL

Thesis acknowledgement is a written genre in which MA graduate students offer their gratitude to individuals, who have contributed to the completion of their study. The aim of the current study was to examine the thesis acknowledgements written by Iranian MA students in the field of Persian Language Teaching to Non-Persian Speakers (Amouzeshe Zaban e Farsi be Kharejian, AZFA) and TEFL in terms ...

متن کامل

پیشگیری از بازگشت : معرفی مدل رفتاری - شناختی مارلات

High rate of relapse after apparently successful treatment is a common problem facing with most approaches to treatment of drug dependency. This has led to the development of a variety of strategies for relapse prevention. Among these, Marlatt’s cognitive – behavioural model has received a good deal of attention. It is based on two major axes: Identification of warning sings and development of ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • L'OBJET

دوره 12  شماره 

صفحات  -

تاریخ انتشار 2006